<?php
require_once '../db_connection.php';
class admin extends db_connection{
	function count($data){
		$sql = "SELECT count(*) FROM ".$data."_info WHERE data_status = '0' ";
		$s = $this->db->query($sql);
		echo $s->fetchColumn();
	}
}
?>
